diff options
author | Pacien TRAN-GIRARD | 2017-07-03 23:59:40 +0200 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2017-07-03 23:59:40 +0200 |
commit | 0b3eef56d244bf40598cba66b1e48479ecbdfaef (patch) | |
tree | ffbe91014c76ad663b11e64571619b334623edf0 /app/src/main/res | |
parent | f791c73e356e6d8ed79b9b14702b84587c3c4bd3 (diff) | |
download | tincapp-0b3eef56d244bf40598cba66b1e48479ecbdfaef.tar.gz |
Fix empty list placeholder
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/fragment_network_list_empty_placeholder.xml | 5 | ||||
-rw-r--r-- | app/src/main/res/layout/page_start.xml | 32 |
2 files changed, 26 insertions, 11 deletions
diff --git a/app/src/main/res/layout/fragment_network_list_empty_placeholder.xml b/app/src/main/res/layout/fragment_network_list_empty_placeholder.xml deleted file mode 100644 index 169942f..0000000 --- a/app/src/main/res/layout/fragment_network_list_empty_placeholder.xml +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | <TextView | ||
2 | xmlns:android="http://schemas.android.com/apk/res/android" | ||
3 | android:id="@+id/network_list_empty" | ||
4 | style="@style/AppTheme.ListBlock.Placeholder" | ||
5 | android:text="@string/message_no_network_configuration_found"/> | ||
diff --git a/app/src/main/res/layout/page_start.xml b/app/src/main/res/layout/page_start.xml index fec55de..0eaf7b0 100644 --- a/app/src/main/res/layout/page_start.xml +++ b/app/src/main/res/layout/page_start.xml | |||
@@ -1,13 +1,33 @@ | |||
1 | <ListView | 1 | <LinearLayout |
2 | xmlns:android="http://schemas.android.com/apk/res/android" | 2 | xmlns:android="http://schemas.android.com/apk/res/android" |
3 | xmlns:tools="http://schemas.android.com/tools" | 3 | xmlns:tools="http://schemas.android.com/tools" |
4 | android:id="@+id/network_list" | ||
5 | android:layout_width="match_parent" | 4 | android:layout_width="match_parent" |
6 | android:layout_height="match_parent" | 5 | android:layout_height="match_parent" |
7 | android:divider="@drawable/horizontal_line" | ||
8 | android:footerDividersEnabled="false" | ||
9 | android:headerDividersEnabled="false" | ||
10 | android:orientation="vertical" | 6 | android:orientation="vertical" |
11 | tools:context="org.pacien.tincapp.activities.StartActivity"> | 7 | tools:context="org.pacien.tincapp.activities.StartActivity"> |
12 | 8 | ||
13 | </ListView> | 9 | <ListView |
10 | android:id="@+id/network_list" | ||
11 | android:layout_width="match_parent" | ||
12 | android:layout_height="match_parent" | ||
13 | android:divider="@drawable/horizontal_line" | ||
14 | android:footerDividersEnabled="false" | ||
15 | android:headerDividersEnabled="false"/> | ||
16 | |||
17 | <LinearLayout | ||
18 | android:id="@+id/network_list_empty" | ||
19 | android:layout_width="match_parent" | ||
20 | android:layout_height="wrap_content" | ||
21 | android:orientation="vertical"> | ||
22 | |||
23 | <TextView | ||
24 | style="@style/AppTheme.SectionTitle" | ||
25 | android:text="@string/title_connect_to_network"/> | ||
26 | |||
27 | <TextView | ||
28 | style="@style/AppTheme.ListBlock.Placeholder" | ||
29 | android:text="@string/message_no_network_configuration_found"/> | ||
30 | |||
31 | </LinearLayout> | ||
32 | |||
33 | </LinearLayout> | ||