Commit 68222b46 authored by Sajal Narang's avatar Sajal Narang

Remove CardView from News and Blogs

parent c397583f
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="4dp" android:layout_margin="16dp"
android:layout_marginLeft="8dp" android:orientation="vertical">
android:layout_marginRight="8dp"
android:layout_marginTop="4dp"
card_view:cardCornerRadius="1dp"
card_view:cardElevation="1dp">
<LinearLayout <TextView
android:id="@+id/post_title"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="16dp" android:fontFamily="sans-serif-light"
android:orientation="vertical"> android:textColor="#000000"
android:textSize="22sp"
android:textStyle="bold" />
<TextView <TextView
android:id="@+id/post_title" android:id="@+id/post_published"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content" />
android:fontFamily="sans-serif-light"
android:textColor="#000000"
android:textSize="22sp" />
<TextView
android:id="@+id/post_published"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<TextView <TextView
android:id="@+id/post_content" android:id="@+id/post_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
android:textColor="#000000" android:textColor="#000000"
android:textColorLink="@color/colorPrimary" /> android:textColorLink="@color/colorPrimary" />
</LinearLayout> </LinearLayout>
</android.support.v7.widget.CardView> \ No newline at end of file
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="4dp" android:padding="16dp"
android:layout_marginLeft="8dp" android:layout_margin="8dp"
android:layout_marginRight="8dp" android:background="#F2F2F2"
android:layout_marginTop="4dp" android:orientation="vertical">
app:cardCornerRadius="1dp"
app:cardElevation="1dp"> <TextView
android:id="@+id/article_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="#000000"
android:textSize="20sp"
android:textStyle="bold" />
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="16dp" android:orientation="horizontal">
android:orientation="vertical">
<TextView <TextView
android:id="@+id/article_title" android:id="@+id/article_body"
android:layout_width="match_parent" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:fontFamily="sans-serif-light"
android:textColor="#000000" android:textColor="#000000"
android:textSize="20sp" android:textSize="17sp" />
android:textStyle="bold" />
<LinearLayout <TextView
android:layout_width="match_parent" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal"> android:fontFamily="sans-serif-light"
android:text=" | "
<TextView android:textSize="17sp" />
android:id="@+id/article_body"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="sans-serif-light"
android:textColor="#000000"
android:textSize="17sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="sans-serif-light"
android:text=" | "
android:textSize="17sp" />
<TextView
android:id="@+id/article_published"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="sans-serif-light"
android:textSize="17sp" />
</LinearLayout>
<TextView <TextView
android:id="@+id/article_content" android:id="@+id/article_published"
android:layout_width="match_parent" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="16dp" android:fontFamily="sans-serif-light"
android:textColor="#000000" android:textSize="17sp" />
android:textColorLink="@color/colorPrimary" />
</LinearLayout> </LinearLayout>
</android.support.v7.widget.CardView>
<TextView
android:id="@+id/article_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:textColor="#000000"
android:textColorLink="@color/colorPrimary" />
</LinearLayout>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment