fix: focusable
This commit is contained in:
parent
4f7271b76e
commit
f3af9daa55
|
@ -38,6 +38,7 @@ public class OnionListAdapter extends CursorAdapter {
|
|||
name.setText(cursor.getString(cursor.getColumnIndex(HSContentProvider.HiddenService.NAME)));
|
||||
TextView domain = (TextView) view.findViewById(R.id.hs_onion);
|
||||
domain.setText(cursor.getString(cursor.getColumnIndex(HSContentProvider.HiddenService.DOMAIN)));
|
||||
|
||||
Switch enabled = (Switch) view.findViewById(R.id.hs_switch);
|
||||
enabled.setChecked(
|
||||
cursor.getInt(cursor.getColumnIndex(HSContentProvider.HiddenService.ENABLED)) == 1
|
||||
|
|
|
@ -49,7 +49,9 @@
|
|||
<Switch
|
||||
android:id="@+id/hs_switch"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
android:layout_height="wrap_content"
|
||||
android:focusable="false"
|
||||
android:focusableInTouchMode="false" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
|
Loading…
Reference in New Issue