diff options
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/fragment_network_list_header.xml | 18 | ||||
-rw-r--r-- | app/src/main/res/layout/fragment_network_status_header.xml | 5 | ||||
-rw-r--r-- | app/src/main/res/layout/page_start.xml | 16 | ||||
-rw-r--r-- | app/src/main/res/layout/page_status.xml | 7 |
4 files changed, 21 insertions, 25 deletions
diff --git a/app/src/main/res/layout/fragment_network_list_header.xml b/app/src/main/res/layout/fragment_network_list_header.xml index 3531e3e..436cfc2 100644 --- a/app/src/main/res/layout/fragment_network_list_header.xml +++ b/app/src/main/res/layout/fragment_network_list_header.xml | |||
@@ -1,4 +1,16 @@ | |||
1 | <TextView | 1 | <LinearLayout |
2 | xmlns:android="http://schemas.android.com/apk/res/android" | 2 | xmlns:android="http://schemas.android.com/apk/res/android" |
3 | style="@style/AppTheme.SectionTitle" | 3 | android:layout_width="match_parent" |
4 | android:text="@string/title_connect_to_network"/> | 4 | android:layout_height="wrap_content" |
5 | android:orientation="vertical"> | ||
6 | |||
7 | <TextView | ||
8 | style="@style/AppTheme.SectionTitle" | ||
9 | android:text="@string/title_connect_to_network"/> | ||
10 | |||
11 | <TextView | ||
12 | android:id="@+id/network_list_placeholder" | ||
13 | style="@style/AppTheme.ListBlock.Placeholder" | ||
14 | android:text="@string/message_no_network_configuration_found"/> | ||
15 | |||
16 | </LinearLayout> | ||
diff --git a/app/src/main/res/layout/fragment_network_status_header.xml b/app/src/main/res/layout/fragment_network_status_header.xml index 947183b..cde547c 100644 --- a/app/src/main/res/layout/fragment_network_status_header.xml +++ b/app/src/main/res/layout/fragment_network_status_header.xml | |||
@@ -119,4 +119,9 @@ | |||
119 | style="@style/AppTheme.SectionTitle" | 119 | style="@style/AppTheme.SectionTitle" |
120 | android:text="@string/title_nodes"/> | 120 | android:text="@string/title_nodes"/> |
121 | 121 | ||
122 | <TextView | ||
123 | android:id="@+id/node_list_placeholder" | ||
124 | style="@style/AppTheme.ListBlock.Placeholder" | ||
125 | android:text="@string/message_no_known_node"/> | ||
126 | |||
122 | </LinearLayout> | 127 | </LinearLayout> |
diff --git a/app/src/main/res/layout/page_start.xml b/app/src/main/res/layout/page_start.xml index 68bf78f..b1bf2a4 100644 --- a/app/src/main/res/layout/page_start.xml +++ b/app/src/main/res/layout/page_start.xml | |||
@@ -15,20 +15,4 @@ | |||
15 | android:footerDividersEnabled="false" | 15 | android:footerDividersEnabled="false" |
16 | android:headerDividersEnabled="false"/> | 16 | android:headerDividersEnabled="false"/> |
17 | 17 | ||
18 | <LinearLayout | ||
19 | android:id="@+id/network_list_empty" | ||
20 | android:layout_width="match_parent" | ||
21 | android:layout_height="wrap_content" | ||
22 | android:orientation="vertical"> | ||
23 | |||
24 | <TextView | ||
25 | style="@style/AppTheme.SectionTitle" | ||
26 | android:text="@string/title_connect_to_network"/> | ||
27 | |||
28 | <TextView | ||
29 | style="@style/AppTheme.ListBlock.Placeholder" | ||
30 | android:text="@string/message_no_network_configuration_found"/> | ||
31 | |||
32 | </LinearLayout> | ||
33 | |||
34 | </android.support.v4.widget.SwipeRefreshLayout> | 18 | </android.support.v4.widget.SwipeRefreshLayout> |
diff --git a/app/src/main/res/layout/page_status.xml b/app/src/main/res/layout/page_status.xml index cd80d0b..bc68ea1 100644 --- a/app/src/main/res/layout/page_status.xml +++ b/app/src/main/res/layout/page_status.xml | |||
@@ -1,10 +1,10 @@ | |||
1 | <android.support.v4.widget.SwipeRefreshLayout | 1 | <android.support.v4.widget.SwipeRefreshLayout |
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/node_list_wrapper" | ||
4 | android:layout_width="match_parent" | 5 | android:layout_width="match_parent" |
5 | android:layout_height="match_parent" | 6 | android:layout_height="match_parent" |
6 | android:orientation="vertical" | 7 | android:orientation="vertical" |
7 | android:id="@+id/node_list_wrapper" | ||
8 | tools:context="org.pacien.tincapp.activities.StatusActivity"> | 8 | tools:context="org.pacien.tincapp.activities.StatusActivity"> |
9 | 9 | ||
10 | <ListView | 10 | <ListView |
@@ -15,9 +15,4 @@ | |||
15 | android:footerDividersEnabled="false" | 15 | android:footerDividersEnabled="false" |
16 | android:headerDividersEnabled="false"/> | 16 | android:headerDividersEnabled="false"/> |
17 | 17 | ||
18 | <TextView | ||
19 | android:id="@+id/node_list_empty" | ||
20 | style="@style/AppTheme.ListBlock.Placeholder" | ||
21 | android:text="@string/message_no_known_node"/> | ||
22 | |||
23 | </android.support.v4.widget.SwipeRefreshLayout> | 18 | </android.support.v4.widget.SwipeRefreshLayout> |