diff options
Diffstat (limited to 'app/src/main/res/layout/tunnel_list_fragment.xml')
-rw-r--r-- | app/src/main/res/layout/tunnel_list_fragment.xml | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/app/src/main/res/layout/tunnel_list_fragment.xml b/app/src/main/res/layout/tunnel_list_fragment.xml index 3a7c1c7a..4189fa5f 100644 --- a/app/src/main/res/layout/tunnel_list_fragment.xml +++ b/app/src/main/res/layout/tunnel_list_fragment.xml @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <layout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto"> + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools"> <data> @@ -23,7 +24,7 @@ android:id="@+id/main_container" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="?android:attr/colorBackground" + android:background="?attr/colorBackground" android:clipChildren="false"> <androidx.recyclerview.widget.RecyclerView @@ -36,14 +37,17 @@ android:visibility="@{tunnels.size() > 0 ? android.view.View.VISIBLE : android.view.View.GONE}" app:configurationHandler="@{rowConfigurationHandler}" app:items="@{tunnels}" - app:layout="@{@layout/tunnel_list_item}" /> + app:layout="@{@layout/tunnel_list_item}" + tools:listitem="@layout/tunnel_list_item" + tools:itemCount="12" /> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center" android:orientation="vertical" - android:visibility="@{tunnels.size() == 0 ? android.view.View.VISIBLE : android.view.View.GONE}"> + android:visibility="@{tunnels.size() == 0 ? android.view.View.VISIBLE : android.view.View.GONE}" + tools:visibility="gone"> <androidx.appcompat.widget.AppCompatImageView android:id="@+id/logo_placeholder" @@ -51,7 +55,6 @@ android:layout_height="140dp" android:layout_gravity="center" android:layout_marginBottom="20dp" - android:layout_marginTop="-70dp" android:alpha="0.3333333" android:src="@mipmap/ic_launcher" /> |