<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/app_color_white"
android:orientation="vertical"
tools:context=".activity.main.TravelListActivity">
<include layout="@layout/common_title_layout" />
<TextView
android:id="@+id/tv_travel_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:layout_marginTop="20dp"
android:layout_marginRight="15dp"
android:text="@string/published_travel_notes"
android:textColor="@color/app_color_black"
android:textSize="18sp"
android:textStyle="bold"
android:visibility="gone"/>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_travel_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:layout_marginTop="20dp"
android:layout_marginRight="15dp" />
<ImageView
android:id="@+id/iv_no_travel"
android:layout_width="108dp"
android:layout_height="108dp"
android:layout_gravity="center_horizontal"
android:layout_marginTop="100dp"
android:src="@mipmap/icon_no_travel"
android:visibility="gone" />
<TextView
android:id="@+id/tv_no_travel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="@string/no_travel"
android:textColor="@color/app_color_1B1"
android:textSize="12sp"
android:visibility="gone" />
<include
android:visibility="gone"
layout="@layout/common_wifi_layout"/>
</LinearLayout>
|