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"
|
|
|
|
xmlns:ads="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<include layout="@layout/item_toolbar" />
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/framelayout_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<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-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"
|
|
|
|
android:layout_height="match_parent"
|
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"
|
|
|
|
android:src="@drawable/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"
|
2018-09-08 03:39:01 +02:00
|
|
|
android:layout_below="@+id/logo"
|
2018-09-07 20:22:31 +02:00
|
|
|
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:layout_toRightOf="@id/MailBtn"
|
|
|
|
android:layout_below="@id/logo"
|
|
|
|
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:layout_below="@+id/logo"
|
|
|
|
android:layout_toRightOf="@+id/CloudBtn"
|
|
|
|
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:layout_below="@+id/logo"
|
|
|
|
android:layout_toRightOf="@+id/DiasporaBtn"
|
|
|
|
android:drawableTop="@drawable/ic_forum"
|
|
|
|
android:text="@string/action_forum"
|
|
|
|
android:textColor="#ffffff" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/ChatBtn"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/MailBtn"
|
|
|
|
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"
|
2018-09-08 03:39:01 +02:00
|
|
|
android:layout_below="@+id/CloudBtn"
|
|
|
|
android:layout_toRightOf="@+id/ChatBtn"
|
2018-09-07 20:22:31 +02:00
|
|
|
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:layout_below="@+id/DiasporaBtn"
|
|
|
|
android:layout_toRightOf="@+id/PadBtn"
|
|
|
|
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:layout_below="@+id/ForumBtn"
|
|
|
|
android:layout_toRightOf="@+id/CalcBtn"
|
|
|
|
android:drawableTop="@drawable/ic_bin"
|
|
|
|
android:text="@string/action_bin"
|
|
|
|
android:textColor="#ffffff" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/UploadBtn"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/ChatBtn"
|
|
|
|
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:layout_below="@+id/PadBtn"
|
|
|
|
android:layout_toRightOf="@+id/UploadBtn"
|
|
|
|
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:layout_below="@+id/CalcBtn"
|
|
|
|
android:layout_toRightOf="@+id/SearxBtn"
|
|
|
|
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:layout_below="@+id/BinBtn"
|
|
|
|
android:layout_toRightOf="@+id/PollsBtn"
|
|
|
|
android:drawableTop="@drawable/ic_board"
|
|
|
|
android:text="@string/action_board"
|
|
|
|
android:textColor="#ffffff" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/UserBtn"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/UploadBtn"
|
|
|
|
android:drawableTop="@drawable/ic_poll"
|
|
|
|
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:layout_below="@+id/SearxBtn"
|
|
|
|
android:layout_toRightOf="@+id/UserBtn"
|
|
|
|
android:drawableTop="@drawable/ic_state"
|
|
|
|
android:text="@string/action_state"
|
|
|
|
android:textColor="#ffffff" />
|
|
|
|
|
|
|
|
<Button
|
2018-09-07 20:22:31 +02:00
|
|
|
android:id="@+id/AboudBtn"
|
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"
|
2018-09-08 03:39:01 +02:00
|
|
|
android:layout_below="@+id/BoardBtn"
|
|
|
|
android:layout_toRightOf="@+id/StateBtn"
|
2018-09-07 20:22:31 +02:00
|
|
|
android:drawableTop="@drawable/ic_about"
|
2018-09-08 03:39:01 +02:00
|
|
|
android:text="@string/action_about"
|
|
|
|
android:textColor="#ffffff" />
|
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>
|