I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 87836dda authored by meeh's avatar meeh
Browse files

Some UI changes to the main activity.

* Rearanged views
* Bigger buttons
* Removed wallpaper
* Added topic labels
parent ff7154b5
No related branches found
No related tags found
No related merge requests found
...@@ -8,120 +8,131 @@ ...@@ -8,120 +8,131 @@
android:orientation="vertical" android:orientation="vertical"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@drawable/movie_wallpaper"
> >
<TextView
android:id="@+id/textView4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Statestics"
android:textAppearance="?android:attr/textAppearanceLarge" />
<TextView
android:id="@+id/main_status_text"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Main Controls"
android:textAppearance="?android:attr/textAppearanceLarge" />
<Button
android:id="@+id/router_start_button"
android:layout_width="match_parent"
android:layout_height="68dp"
android:text="Start Router" />
<Button
android:id="@+id/router_quit_button"
android:layout_width="match_parent"
android:layout_height="68dp"
android:text="Stop Router" />
<ImageView <ImageView
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:src="@drawable/i2plogo" android:src="@drawable/i2plogo"
/> />
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal" <Button
android:layout_width="fill_parent" android:id="@+id/router_stop_button"
android:layout_height="wrap_content" android:layout_width="match_parent"
> android:layout_height="wrap_content"
<Button android:text="OLD STOP" />
android:id="@+id/website_button"
android:layout_width="wrap_content" <TextView
android:layout_height="wrap_content" android:id="@+id/textView2"
android:text="Web Site\n(non-anon)" android:layout_width="wrap_content"
/> android:layout_height="wrap_content"
<Button android:text="I2P Tools"
android:id="@+id/faq_button" android:textAppearance="?android:attr/textAppearanceMedium" />
android:layout_width="wrap_content"
android:layout_height="wrap_content" <Button
android:text="FAQ\n(non-anon)"
/>
<Button
android:id="@+id/welcome_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Welcome\nPage"
/>
</LinearLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
>
<Button
android:id="@+id/news_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="News"
/>
<Button
android:id="@+id/releasenotes_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Release Notes"
/>
<Button
android:id="@+id/licenses_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Licenses"
/>
</LinearLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
>
<Button
android:id="@+id/addressbook_button" android:id="@+id/addressbook_button"
android:layout_width="wrap_content" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="Address Book" android:text="Address Book" />
/>
<Button <Button
android:id="@+id/logs_button" android:id="@+id/logs_button"
android:layout_width="wrap_content" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="Logs" android:text="Logs" />
/>
<Button <Button
android:id="@+id/error_button" android:id="@+id/error_button"
android:layout_width="wrap_content" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="Error Logs" android:text="Error Logs" />
/>
<Button <Button
android:id="@+id/peers_button" android:id="@+id/peers_button"
android:layout_width="wrap_content" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="Peers" android:text="Peers" />
/>
</LinearLayout> <TextView
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/textView3"
android:orientation="horizontal" android:layout_width="wrap_content"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:layout_height="wrap_content" android:text="Information and pages"
> android:textAppearance="?android:attr/textAppearanceMedium" />
<Button
android:id="@+id/router_start_button" <Button
android:layout_width="wrap_content" android:id="@+id/welcome_button"
android:layout_height="wrap_content" android:layout_width="match_parent"
android:text="Start Router" android:layout_height="wrap_content"
/> android:text="Welcome\nPage" />
<Button
android:id="@+id/router_stop_button" <Button
android:layout_width="wrap_content" android:id="@+id/news_button"
android:layout_height="wrap_content" android:layout_width="match_parent"
android:text="OLD STOP" android:layout_height="wrap_content"
/> android:text="News" />
<Button
android:id="@+id/router_quit_button" <Button
android:layout_width="wrap_content" android:id="@+id/releasenotes_button"
android:layout_height="wrap_content" android:layout_width="match_parent"
android:text="Stop Router" android:layout_height="wrap_content"
/> android:text="Release Notes" />
</LinearLayout>
<TextView <Button
android:id="@+id/main_status_text" android:id="@+id/licenses_button"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="" android:text="Licenses" />
/>
<TextView
android:id="@+id/textView5"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Non Anonymous Information"
android:textAppearance="?android:attr/textAppearanceMedium" />
<Button
android:id="@+id/website_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Web Site (non-anon)" />
<Button
android:id="@+id/faq_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="FAQ (non-anon)" />
</LinearLayout> </LinearLayout>
</ScrollView> </ScrollView>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment