|
@ -1,21 +1,16 @@ |
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
<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_width="match_parent" |
|
|
android:layout_height="match_parent" |
|
|
android:layout_height="match_parent" |
|
|
tools:showIn="@layout/cabinet_newsfeed" |
|
|
|
|
|
android:background="@android:color/darker_gray"> |
|
|
android:background="@android:color/darker_gray"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
<LinearLayout |
|
|
android:orientation="vertical" |
|
|
android:orientation="vertical" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_height="300dp" |
|
|
android:layout_height="wrap_content" |
|
|
android:background="@android:color/background_light" |
|
|
android:background="@android:color/background_light" |
|
|
android:layout_marginBottom="10dp" |
|
|
android:layout_marginBottom="10dp" |
|
|
android:paddingLeft="20dp" |
|
|
|
|
|
android:paddingRight="20dp" |
|
|
|
|
|
android:paddingTop="10dp" |
|
|
android:paddingTop="10dp" |
|
|
android:paddingBottom="10dp"> |
|
|
android:paddingBottom="10dp"> |
|
|
|
|
|
|
|
@ -23,19 +18,26 @@ |
|
|
android:text="" |
|
|
android:text="" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Headline" |
|
|
android:textAppearance="@style/TextAppearance.AppCompat.SearchResult.Title" |
|
|
android:layout_marginLeft="5dp" |
|
|
android:paddingLeft="25dp" |
|
|
|
|
|
android:paddingRight="20dp" |
|
|
|
|
|
android:layout_marginBottom="15dp" |
|
|
android:id="@+id/newsfeed_item_title"/> |
|
|
android:id="@+id/newsfeed_item_title"/> |
|
|
|
|
|
|
|
|
<ImageView |
|
|
<ImageView |
|
|
android:layout_width="match_parent" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="match_parent" |
|
|
android:id="@+id/newsfeed_item_image"/> |
|
|
android:adjustViewBounds="true" |
|
|
|
|
|
android:scaleType="fitXY" |
|
|
|
|
|
android:id="@+id/newsfeed_item_image" /> |
|
|
|
|
|
|
|
|
<TextView |
|
|
<TextView |
|
|
android:text="" |
|
|
android:text="" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
android:paddingLeft="20dp" |
|
|
|
|
|
android:paddingRight="20dp" |
|
|
|
|
|
android:layout_marginTop="20dp" |
|
|
android:textAppearance="@android:style/TextAppearance.DeviceDefault" |
|
|
android:textAppearance="@android:style/TextAppearance.DeviceDefault" |
|
|
android:id="@+id/newsfeed_item_text" /> |
|
|
android:id="@+id/newsfeed_item_text" /> |
|
|
|
|
|
|
|
|