lightning-i2p/res/layout/activity_main.xml
Anthony Restaino c68e856741 2.3.10
- fixed all issues with rendering, performance has increased
dramatically on not-fullscreen and has increased a little in fullscreen
- battery life improved as a result
- added hebrew language
- changed the way history works (now uses SQLite database, it's way
better than the android.provider.Browser way)
- fixed a couple crashes related to bookmarks and downloads
- formatted the code a little better (thanks to Aeefire for the tips,
just know I'm taking your advice LOL)
2013-04-01 22:24:56 -04:00

151 lines
5.1 KiB
XML

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/background"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity" >
<RelativeLayout
android:id="@+id/urlBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
>
<HorizontalScrollView
android:id="@+id/tabScroll"
android:layout_width="match_parent"
android:layout_height="32dp"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:scrollbars="horizontal|none"
android:fadingEdge="none">
<LinearLayout
android:id="@+id/Layout"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:orientation="horizontal" >
<LinearLayout
android:id="@+id/tabLayout"
android:layout_width="wrap_content"
android:layout_height="match_parent" >
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="match_parent" >
<ImageView
android:id="@+id/newTab"
android:layout_width="32dp"
android:layout_height="32dp"
android:src="@drawable/new_tab" />
</LinearLayout>
</LinearLayout>
</HorizontalScrollView>
<RelativeLayout
android:id="@+id/relativeLayout1"
android:layout_width="wrap_content"
android:layout_height="48dp"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:layout_below="@id/tabScroll"
android:background="@drawable/bar" >
<ImageView
android:id="@+id/options"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:src="@drawable/options" />
<ImageView
android:id="@+id/exit"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:src="@drawable/exit" />
<ImageView
android:id="@+id/forward"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentTop="true"
android:layout_toRightOf="@+id/exit"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:src="@drawable/forward" />
<RelativeLayout
android:id="@+id/refreshLayout"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentTop="true"
android:layout_toRightOf="@+id/forward">
<ImageView
android:id="@+id/refresh"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_toRightOf="@+id/forward"
android:paddingBottom="10dp"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:paddingTop="10dp"
android:src="@drawable/refresh" />
<ProgressBar
android:id="@+id/progressBar1"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:indeterminate="true"
/>
</RelativeLayout>
<MultiAutoCompleteTextView
android:id="@+id/enterUrl"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentTop="true"
android:layout_toLeftOf="@+id/options"
android:layout_toRightOf="@+id/refreshLayout"
android:background="@drawable/bookmark"
android:ems="10"
android:hint="@string/google"
android:imeOptions="actionGo"
android:inputType="textUri"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:singleLine="true" />
</RelativeLayout>
</RelativeLayout>
<FrameLayout
android:id="@+id/holder"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/urlBar" >
</FrameLayout>
</RelativeLayout>