Før Oppgaver Steg 2, kobling mot WP

This commit is contained in:
ErolHaagenrud 2026-01-07 15:21:31 +01:00
parent 34ee55d362
commit 974c41ca4d
2 changed files with 30 additions and 10 deletions

View file

@ -39,7 +39,7 @@
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#EEE"
android:background="#EEEEEE"
android:layout_marginBottom="16dp"/>
<TextView

View file

@ -13,18 +13,37 @@
android:background="@color/white"
app:tabSelectedTextColor="@color/kbs_logo_blue"
app:tabIndicatorColor="@color/kbs_logo_blue">
<com.google.android.material.tabs.TabItem android:text="Mine" />
<com.google.android.material.tabs.TabItem android:text="Tildelt andre" />
<com.google.android.material.tabs.TabItem android:text="Fullførte" />
<com.google.android.material.tabs.TabItem
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Mine" />
<com.google.android.material.tabs.TabItem
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Tildelt andre" />
<com.google.android.material.tabs.TabItem
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Fullførte" />
</com.google.android.material.tabs.TabLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_tasks"
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:id="@+id/swipe_refresh_tasks"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:padding="8dp"
android:clipToPadding="false" />
android:layout_weight="1">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_tasks"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="8dp"
android:clipToPadding="false" />
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/fab_add_task"
@ -34,6 +53,7 @@
android:layout_margin="24dp"
android:src="@android:drawable/ic_input_add"
app:backgroundTint="@color/kbs_logo_blue"
app:tint="@color/white" />
app:tint="@color/white"
android:contentDescription="Ny oppgave" />
</LinearLayout>