AA-4 | Reyaz & Shashidhara | Create a base layout for My loans fragment
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
package com.navi.medici.android_customer_app.bottomNavigation.myLoans
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
package com.navi.medici.android_customer_app.bottomNavigation.myLoans
|
||||
|
||||
import androidx.lifecycle.ViewModelProviders
|
||||
import android.os.Bundle
|
||||
import androidx.fragment.app.Fragment
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import androidx.databinding.DataBindingUtil
|
||||
import androidx.fragment.app.Fragment
|
||||
import androidx.lifecycle.ViewModelProviders
|
||||
import com.navi.medici.android_customer_app.R
|
||||
import com.navi.medici.android_customer_app.databinding.MyLoansFragmentBinding
|
||||
|
||||
@@ -37,5 +37,4 @@ class MyLoansFragment : Fragment() {
|
||||
companion object {
|
||||
const val TAG = "MY_LOANS_FRAGMENT"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,20 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
<layout xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<data>
|
||||
|
||||
</data>
|
||||
|
||||
<FrameLayout
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".bottomNavigation.myLoans.MyLoansFragment">
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:text="Hello" />
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:text="@string/active_loans" />
|
||||
|
||||
</FrameLayout>
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/active_loans_recycler"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="16dp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:text="@string/completed_loans" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/completed_loans_recycler"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="16dp" />
|
||||
</LinearLayout>
|
||||
</layout>
|
||||
@@ -7,4 +7,6 @@
|
||||
<string name="home">Home</string>
|
||||
<string name="my_loans">My Loans</string>
|
||||
<string name="profile">Profile</string>
|
||||
<string name="active_loans">Active Loans</string>
|
||||
<string name="completed_loans">Completed Loans</string>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user