2018-09-02 19:00:45 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-09-13 14:38:45 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2018-09-02 19:00:45 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<include layout="@layout/item_toolbar" />
|
|
|
|
|
2018-09-13 14:38:45 +02:00
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/progressbarLoading"
|
|
|
|
style="@android:style/Widget.ProgressBar.Horizontal"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="10dp"
|
2018-09-14 09:44:30 +02:00
|
|
|
android:progressTint="@color/bg_primary_blue_dark"
|
2018-09-13 14:38:45 +02:00
|
|
|
android:visibility="gone"
|
2018-09-14 09:44:30 +02:00
|
|
|
android:indeterminate="false"
|
|
|
|
android:max="100"
|
2018-09-15 11:52:00 +02:00
|
|
|
android:progress="1"
|
|
|
|
tools:ignore="UnusedAttribute" />
|
2018-09-02 19:00:45 +02:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/framelayout_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
2018-12-30 12:24:59 +01:00
|
|
|
<android.support.v4.widget.SwipeRefreshLayout
|
|
|
|
android:id="@+id/swipe"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
2018-09-02 19:00:45 +02:00
|
|
|
<WebView
|
|
|
|
android:id="@+id/webView_content"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:visibility="invisible" />
|
|
|
|
<include layout="@layout/view_loading"/>
|
2018-12-30 12:24:59 +01:00
|
|
|
</android.support.v4.widget.SwipeRefreshLayout>
|
2018-09-02 19:00:45 +02:00
|
|
|
|
2018-09-08 03:39:01 +02:00
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2018-09-07 20:22:31 +02:00
|
|
|
android:id="@+id/dashboard"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2018-09-08 03:39:01 +02:00
|
|
|
android:fillViewport="true"
|
|
|
|
android:stackFromBottom="true"
|
|
|
|
android:transcriptMode="alwaysScroll"
|
|
|
|
android:visibility="visible">
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/dashLayout"
|
|
|
|
android:layout_width="match_parent"
|
2018-09-15 11:52:00 +02:00
|
|
|
android:layout_height="wrap_content"
|
2018-09-07 20:22:31 +02:00
|
|
|
android:background="#203140"
|
2018-09-08 03:39:01 +02:00
|
|
|
android:gravity="center_horizontal">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/logo"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="20dp"
|
|
|
|
android:layout_marginBottom="30dp"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
2018-09-15 11:52:00 +02:00
|
|
|
android:src="@drawable/logo"
|
|
|
|
android:contentDescription="@string/logo" />
|
2018-09-08 03:39:01 +02:00
|
|
|
|
2018-09-09 17:41:03 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:id="@+id/group1"
|
|
|
|
android:layout_below="@+id/logo">
|
2018-09-07 20:22:31 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/MailBtn"
|
2018-09-08 03:39:01 +02:00
|
|
|
style="?android:attr/borderlessButtonStyle"
|
2018-09-07 20:22:31 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="#ffffff"
|
|
|
|
android:text="@string/action_mail"
|
2018-09-08 03:39:01 +02:00
|
|
|
android:drawableTop="@drawable/ic_mail"/>
|
2018-09-07 20:22:31 +02:00
|
|
|
|
|
|
|
<Button
|
2018-09-08 03:39:01 +02:00
|
|
|
android:id="@+id/CloudBtn"
|
2018-09-07 20:22:31 +02:00
|
|
|
style="?android:attr/borderlessButtonStyle"
|
2018-09-08 03:39:01 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:drawableTop="@drawable/ic_cloud"
|
|
|
|
android:text="@string/action_cloud"
|
|
|
|
android:textColor="#ffffff" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/DiasporaBtn"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:drawableTop="@drawable/ic_diaspora"
|
|
|
|
android:text="@string/action_diaspora"
|
|
|
|
android:textColor="#ffffff" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/ForumBtn"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:drawableTop="@drawable/ic_forum"
|
|
|
|
android:text="@string/action_forum"
|
|
|
|
android:textColor="#ffffff" />
|
2018-09-09 17:41:03 +02:00
|
|
|
</LinearLayout>
|
2018-09-08 03:39:01 +02:00
|
|
|
|
2018-09-09 17:41:03 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:id="@+id/group2"
|
|
|
|
android:layout_below="@+id/group1">
|
2018-09-08 03:39:01 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/ChatBtn"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:drawableTop="@drawable/ic_chat"
|
|
|
|
android:text="@string/action_chat"
|
|
|
|
android:textColor="#ffffff" />
|
|
|
|
|
|
|
|
<Button
|
2018-09-07 20:22:31 +02:00
|
|
|
android:id="@+id/PadBtn"
|
2018-09-08 03:39:01 +02:00
|
|
|
style="?android:attr/borderlessButtonStyle"
|
2018-09-07 20:22:31 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:drawableTop="@drawable/ic_pad"
|
2018-09-08 03:39:01 +02:00
|
|
|
android:text="@string/action_pad"
|
|
|
|
android:textColor="#ffffff" />
|
2018-09-07 20:22:31 +02:00
|
|
|
|
|
|
|
<Button
|
2018-09-08 03:39:01 +02:00
|
|
|
android:id="@+id/CalcBtn"
|
2018-09-07 20:22:31 +02:00
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-09-08 03:39:01 +02:00
|
|
|
android:drawableTop="@drawable/ic_calc"
|
|
|
|
android:text="@string/action_calc"
|
|
|
|
android:textColor="#ffffff" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/BinBtn"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:drawableTop="@drawable/ic_bin"
|
|
|
|
android:text="@string/action_bin"
|
|
|
|
android:textColor="#ffffff" />
|
2018-09-09 17:41:03 +02:00
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:id="@+id/group3"
|
|
|
|
android:layout_below="@+id/group2">
|
2018-09-08 03:39:01 +02:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/UploadBtn"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:drawableTop="@drawable/ic_upload"
|
|
|
|
android:text="@string/action_upload"
|
|
|
|
android:textColor="#ffffff" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/SearxBtn"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:drawableTop="@drawable/ic_searx"
|
|
|
|
android:text="@string/action_searx"
|
|
|
|
android:textColor="#ffffff" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/PollsBtn"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:drawableTop="@drawable/ic_poll"
|
|
|
|
android:text="@string/action_poll"
|
|
|
|
android:textColor="#ffffff" />
|
|
|
|
|
2018-09-07 20:22:31 +02:00
|
|
|
<Button
|
2018-09-08 03:39:01 +02:00
|
|
|
android:id="@+id/BoardBtn"
|
2018-09-07 20:22:31 +02:00
|
|
|
style="?android:attr/borderlessButtonStyle"
|
2018-09-08 03:39:01 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:drawableTop="@drawable/ic_board"
|
|
|
|
android:text="@string/action_board"
|
|
|
|
android:textColor="#ffffff" />
|
2018-09-09 17:41:03 +02:00
|
|
|
</LinearLayout>
|
2018-09-08 03:39:01 +02:00
|
|
|
|
2018-09-09 17:41:03 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:id="@+id/group4"
|
|
|
|
android:layout_below="@+id/group3">
|
2018-12-18 21:00:58 +01:00
|
|
|
<Button
|
|
|
|
android:id="@+id/NotesBtn"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:drawableTop="@drawable/ic_notes"
|
|
|
|
android:text="@string/action_notes"
|
|
|
|
android:textColor="#ffffff" />
|
2018-09-08 03:39:01 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/UserBtn"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-12-18 21:00:58 +01:00
|
|
|
android:drawableTop="@drawable/ic_user"
|
2018-09-08 03:39:01 +02:00
|
|
|
android:text="@string/action_user"
|
|
|
|
android:textColor="#ffffff" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/StateBtn"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:drawableTop="@drawable/ic_state"
|
|
|
|
android:text="@string/action_state"
|
|
|
|
android:textColor="#ffffff" />
|
|
|
|
|
2018-09-09 17:41:03 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/HowtoBtn"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:drawableTop="@drawable/ic_howto"
|
|
|
|
android:text="@string/action_howto"
|
|
|
|
android:textColor="#ffffff" />
|
|
|
|
|
2018-12-18 21:00:58 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2018-09-07 20:22:31 +02:00
|
|
|
android:layout_height="wrap_content"
|
2018-12-21 09:19:06 +01:00
|
|
|
android:gravity="center_horizontal"
|
2018-12-18 21:00:58 +01:00
|
|
|
android:id="@+id/group5"
|
|
|
|
android:layout_below="@+id/group4"><!-- android:gravity="center_horizontal" -->
|
|
|
|
<Button
|
|
|
|
android:id="@+id/AboudBtn"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:drawableTop="@drawable/ic_about"
|
|
|
|
android:text="@string/action_about"
|
|
|
|
android:textColor="#ffffff" />
|
2018-12-21 09:19:06 +01:00
|
|
|
<Button
|
|
|
|
android:id="@+id/Placeholder2"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:maxWidth="24dp"
|
|
|
|
android:text=""
|
2019-01-01 11:31:57 +01:00
|
|
|
android:textColor="#ffffff" /><!-- remove line android:maxWidth="24dp" when new button added -->
|
2018-12-21 09:19:06 +01:00
|
|
|
<Button
|
|
|
|
android:id="@+id/Placeholder3"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:maxWidth="24dp"
|
|
|
|
android:text=""
|
|
|
|
android:textColor="#ffffff" />
|
|
|
|
<Button
|
|
|
|
android:id="@+id/Placeholder4"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:maxWidth="24dp"
|
|
|
|
android:text=""
|
|
|
|
android:textColor="#ffffff" />
|
2018-09-09 17:41:03 +02:00
|
|
|
</LinearLayout>
|
2018-09-07 20:22:31 +02:00
|
|
|
</RelativeLayout>
|
2018-09-08 03:39:01 +02:00
|
|
|
</ScrollView>
|
2018-09-02 19:00:45 +02:00
|
|
|
</FrameLayout>
|
|
|
|
</LinearLayout>
|