Browse Source
Added ...lastitem.xml - now on the end news feed looking better. Some other visual fixes with xml's. Rewrited drawNewsList for visual fixes. Added refresh news feed button.master
Defend
8 years ago
6 changed files with 118 additions and 27 deletions
@ -0,0 +1,44 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|||
xmlns:app="http://schemas.android.com/apk/res-auto" |
|||
xmlns:tools="http://schemas.android.com/tools" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="match_parent" |
|||
tools:showIn="@layout/cabinet_newsfeed" |
|||
android:background="@android:color/darker_gray"> |
|||
|
|||
|
|||
<LinearLayout |
|||
android:orientation="vertical" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="300dp" |
|||
android:background="@android:color/background_light" |
|||
android:paddingLeft="20dp" |
|||
android:paddingRight="20dp" |
|||
android:paddingTop="10dp" |
|||
android:paddingBottom="10dp"> |
|||
|
|||
<TextView |
|||
android:text="" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:textAppearance="@style/TextAppearance.AppCompat.Headline" |
|||
android:layout_marginLeft="5dp" |
|||
android:id="@+id/newsfeed_item_title"/> |
|||
|
|||
<ImageView |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:id="@+id/newsfeed_item_image"/> |
|||
|
|||
<TextView |
|||
android:text="" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:textAppearance="@android:style/TextAppearance.DeviceDefault" |
|||
android:id="@+id/newsfeed_item_text" /> |
|||
|
|||
|
|||
</LinearLayout> |
|||
|
|||
</RelativeLayout> |
Loading…
Reference in new issue