Changed navigation bar in Download Module, now path text, home and

parent button are together
This commit is contained in:
Helena Rodriguez 2012-12-14 00:42:55 +01:00
parent 2124b3c146
commit 3495d63062
2 changed files with 16 additions and 30 deletions

View File

@ -8,20 +8,7 @@
<include layout="@layout/action_bar" />
<include layout="@layout/course_or_group_name"/>
<TextView
android:id="@+id/path"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp"
android:background="@color/title_background"
android:textColor="@android:color/white"
android:textSize="18sp"
android:textStyle="bold"
android:ellipsize="start"
android:singleLine="true">
</TextView>
<include layout="@layout/navigation_bar" />
<GridView xmlns:android="http://schemas.android.com/apk/res/android"

View File

@ -3,7 +3,7 @@
android:id="@+id/actionBarLayout"
android:layout_width="match_parent"
android:layout_height="40dip"
android:background="@color/title_background"
android:background="@android:color/white"
android:orientation="horizontal" >
<!-- Home -->
@ -31,23 +31,22 @@
android:contentDescription="@string/parent_icon"
android:background="@drawable/navigation_button"
android:onClick="onRefreshClick"
android:paddingLeft="20dip"
android:paddingLeft="5dip"
android:paddingRight="5dip"
android:scaleType="centerCrop"
android:src="@drawable/parent" />
<!-- Refresh -->
<ImageButton
android:id="@+id/refresh_button"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentTop="true"
android:background="@drawable/navigation_button"
android:contentDescription="@string/refresh_icon"
android:onClick="onRefreshClick"
android:layout_alignParentRight="true"
android:paddingLeft="5dip"
android:paddingRight="5dip"
android:scaleType="centerCrop"
android:src="@drawable/refresh" />
<TextView
android:id="@+id/path"
android:layout_toRightOf="@id/parent_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp"
android:textColor="@android:color/black"
android:textSize="18sp"
android:textStyle="bold"
android:ellipsize="start"
android:singleLine="true">
</TextView>
</RelativeLayout>