Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Commit

Permalink
Merge pull request #706 from hayesjordan/switch-icon-side
Browse files Browse the repository at this point in the history
Move favicon to left side
  • Loading branch information
hayesjordan authored Jun 27, 2016
2 parents 47163b7 + 0c72490 commit 13332ad
Showing 1 changed file with 19 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,21 @@
android:orientation="horizontal"
android:baselineAligned="false">

<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_weight="1"
android:gravity="start">
<ImageView
android:id="@+id/icon"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginTop="6dp"
android:contentDescription="@string/nearby_beacon_favicon_content_description">
</ImageView>
</LinearLayout>

<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
Expand Down Expand Up @@ -44,29 +59,8 @@
android:maxLines="1"
android:ellipsize="end">
</TextView>
</LinearLayout>

<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_weight="1"
android:gravity="end">
<ImageView
android:id="@+id/icon"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginTop="6dp"
android:contentDescription="@string/nearby_beacon_favicon_content_description">
</ImageView>
</LinearLayout>

</LinearLayout>

<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TextView
<TextView
android:id="@+id/description"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
Expand All @@ -77,7 +71,9 @@
android:lines="2"
android:ellipsize="end"
android:lineSpacingExtra="1.5dp">
</TextView>
</TextView>
</LinearLayout>

</LinearLayout>

<LinearLayout
Expand Down

0 comments on commit 13332ad

Please sign in to comment.