I am displaying a the Terms & Conditions screen of the mobile application as the first screen.
I am using a layout file to display the screen.
Within the layout file , I have two buttons , one for Accept & one for Reject
<Button android:id="@+id/acceptBtn" android:text="@string/accept"
android:background="@drawable/buttons" android:textColor="@color/white"
android:layout_width="wrap_content" android:layout_height="wrap_content"></Button>
<Button android:id="@+id/rejecttBtn" android:text="@string/reject"
android:background="@drawable/buttons" android:textColor="@color/white"
android:layout_width="wrap_content" android:layout_height="wrap_content"></Button>
The requirement by default is , the Reject button should be in selected condition. Also , currently , because of the android:background="@drawable/buttons" which is an image , the buttons are not getting focussed.
Kindly provide your inputs/sample code/xml to solve the issue.
Thanks in advance.