Refine code style
This commit is contained in:
@@ -2,7 +2,6 @@
|
|||||||
<layout
|
<layout
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<data>
|
<data>
|
||||||
<import type="android.view.View"/>
|
|
||||||
<variable
|
<variable
|
||||||
name="data"
|
name="data"
|
||||||
type="be.mygod.vpnhotspot.manage.ManageBar.Data"/>
|
type="be.mygod.vpnhotspot.manage.ManageBar.Data"/>
|
||||||
@@ -42,7 +41,7 @@
|
|||||||
android:id="@+id/offloadEnabled"
|
android:id="@+id/offloadEnabled"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:visibility="@{data.offloadEnabled ? View.VISIBLE : View.GONE}"
|
android:visibility="@{data.offloadEnabled}"
|
||||||
android:text="@string/tethering_manage_offload_enabled"/>
|
android:text="@string/tethering_manage_offload_enabled"/>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user