Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <RelativeLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:segmentedgroup="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/background"
- tools:context="com.yceo.namazvakti.fragments.FindMosqueFragment">
- <!--Başlık-->
- <com.yceo.namazvakti.utility.AutoResizeTextView
- android:id="@+id/find_mosque_title"
- android:layout_width="match_parent"
- android:layout_height="60dp"
- android:layout_alignParentEnd="true"
- android:layout_alignParentLeft="true"
- android:layout_alignParentRight="true"
- android:layout_alignParentStart="true"
- android:layout_alignParentTop="true"
- android:gravity="center"
- android:text="@string/find_mosque_title"
- android:textAppearance="@style/TextAppearance.FontPathView"
- android:textColor="@android:color/white"
- android:textSize="25sp"
- android:textStyle="bold"/>
- <!--Liste / Harita düpmeleri-->
- <com.yceo.namazvakti.utility.SegmentedGroup
- android:id="@+id/segmentedControl"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@+id/find_mosque_title"
- android:layout_centerHorizontal="true"
- android:layout_marginBottom="10dp"
- android:layout_marginLeft="20dp"
- android:layout_marginRight="20dp"
- android:clickable="false"
- android:focusable="false"
- android:focusableInTouchMode="false"
- android:orientation="horizontal"
- segmentedgroup:border_width="2dp"
- segmentedgroup:corner_radius="5dp">
- <RadioButton
- android:id="@+id/missedSalaahsButton"
- style="@style/RadioButton"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:checked="true"
- android:contentDescription="@string/mosque_list_button_content_description"
- android:text="@string/mosque_list_button"
- android:textAppearance="@style/TextAppearance.FontPathView"
- android:textStyle="bold" />
- <RadioButton
- android:id="@+id/missedFastingsButton"
- style="@style/RadioButton"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:contentDescription="Map button"
- android:text="@string/mosque_map_button"
- android:textAppearance="@style/TextAppearance.FontPathView"
- android:textStyle="bold" />
- </com.yceo.namazvakti.utility.SegmentedGroup>
- <!--Harita-->
- <fragment
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/map"
- android:name="com.google.android.gms.maps.SupportMapFragment"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_below="@+id/segmentedControl" />
- <!--Liste-->
- <LinearLayout
- android:id="@+id/mosque_list_group"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_below="@+id/segmentedControl"
- android:background="@color/application_in_backgraund"
- android:orientation="vertical">
- <!--Arama bölümü-->
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="40dp"
- android:layout_marginEnd="20dp"
- android:layout_marginLeft="20dp"
- android:layout_marginRight="20dp"
- android:layout_marginStart="20dp"
- android:layout_marginTop="10dp"
- android:background="@drawable/rounded_edit_text">
- <EditText
- android:id="@+id/search_bar"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_toEndOf="@+id/search_icon"
- android:layout_toRightOf="@+id/search_icon"
- android:enabled="false"
- android:gravity="center_vertical"
- android:inputType="text"
- android:textColor="@android:color/darker_gray"
- android:textColorHint="@android:color/darker_gray" />
- <ImageView
- android:id="@+id/search_icon"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:padding="10dp"
- android:src="@drawable/search"/>
- </RelativeLayout>
- <com.yceo.namazvakti.utility.MySwipeRefreshLayout
- android:id="@+id/swipe_to_refresh"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginBottom="10dp"
- android:layout_marginEnd="20dp"
- android:layout_marginLeft="20dp"
- android:layout_marginRight="20dp"
- android:layout_marginStart="20dp"
- android:layout_marginTop="10dp"
- android:background="@drawable/rounded_edit_text">
- <!--Camii listesi-->
- <ListView
- android:id="@+id/mosque_list_view"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:choiceMode="singleChoice"
- android:clickable="true"
- android:divider="@color/AntiqueWhite"
- android:dividerHeight="0.5dp"
- android:drawSelectorOnTop="true"
- android:textAppearance="@style/TextAppearance.FontPathView" />
- </com.yceo.namazvakti.utility.MySwipeRefreshLayout>
- </LinearLayout>
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement