Implement BantuanActivity

This commit is contained in:
riz081 2025-06-29 15:25:34 +07:00
parent 597921e32b
commit 6f98a91372
7 changed files with 1089 additions and 2 deletions

View File

@ -52,6 +52,8 @@ dependencies {
implementation libs.constraintlayout
implementation libs.cardview
implementation 'androidx.recyclerview:recyclerview:1.3.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'com.sunmi:printerlibrary:1.0.15'
// Test dependencies

View File

@ -83,6 +83,10 @@
android:name=".transaction.ResultTransactionActivity"
android:exported="false" />
<activity
android:name=".bantuan.BantuanActivity"
android:exported="false" />
<activity android:name="com.sunmi.emv.l2.view.AppSelectActivity"/>
</application>

View File

@ -18,16 +18,18 @@ import androidx.core.view.ViewCompat;
import androidx.core.view.WindowInsetsCompat;
import com.google.android.material.button.MaterialButton;
import com.example.bdkipoc.R;
import com.example.bdkipoc.cetakulang.ReprintActivity;
import com.example.bdkipoc.cetakulang.ReprintAdapterActivity;
import com.example.bdkipoc.histori.HistoryActivity;
import com.example.bdkipoc.R;
import com.example.bdkipoc.transaction.CreateTransactionActivity;
import com.example.bdkipoc.transaction.ResultTransactionActivity;
import com.example.bdkipoc.bantuan.BantuanActivity;
public class MainActivity extends AppCompatActivity {
private boolean isExpanded = false; // False = showing only 9 main menus, True = showing all 15 menus
@ -182,7 +184,7 @@ public class MainActivity extends AppCompatActivity {
startActivity(new Intent(MainActivity.this, HistoryActivity.class));
// Col-4
} else if (cardId == R.id.card_bantuan) {
Toast.makeText(this, "Bantuan - Coming Soon", Toast.LENGTH_SHORT).show();
startActivity(new Intent(MainActivity.this, BantuanActivity.class));
} else if (cardId == R.id.card_info_toko) {
Toast.makeText(this, "Info Toko - Coming Soon", Toast.LENGTH_SHORT).show();
} else if (cardId == R.id.card_pengaturan) {

View File

@ -0,0 +1,104 @@
package com.example.bdkipoc.bantuan;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.content.ContextCompat;
import com.example.bdkipoc.R;
public class BantuanActivity extends AppCompatActivity {
private LinearLayout tabUmum, tabRiwayat;
private TextView textUmum, textRiwayat;
private View contentUmum, contentRiwayat;
private Button btnForm, btnWhatsApp;
private LinearLayout backNavigation;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// Default tampilkan tab Umum
setContentView(R.layout.activity_bantuan_umum);
initViews();
setupListeners();
}
private void initViews() {
tabUmum = findViewById(R.id.tab_umum);
tabRiwayat = findViewById(R.id.tab_riwayat);
textUmum = findViewById(R.id.text_umum);
textRiwayat = findViewById(R.id.text_riwayat);
btnForm = findViewById(R.id.btn_form);
btnWhatsApp = findViewById(R.id.btn_whatsapp);
// Back navigation dari component_appbar
backNavigation = findViewById(R.id.back_navigation);
}
private void setupListeners() {
// Back navigation listener
if (backNavigation != null) {
backNavigation.setOnClickListener(v -> onBackPressed());
}
// Tab listeners
tabUmum.setOnClickListener(v -> showUmumTab());
tabRiwayat.setOnClickListener(v -> showRiwayatTab());
// Button listeners
btnForm.setOnClickListener(v -> {
setContentView(R.layout.activity_bantuan_form);
setupFormView();
});
btnWhatsApp.setOnClickListener(v -> {
// Handle WhatsApp CS
});
}
private void showUmumTab() {
setContentView(R.layout.activity_bantuan_umum);
initViews();
setupListeners();
// Update tab appearance
tabUmum.setBackgroundResource(android.R.color.holo_red_dark);
textUmum.setTextColor(ContextCompat.getColor(this, android.R.color.white));
tabRiwayat.setBackgroundResource(android.R.color.transparent);
textRiwayat.setTextColor(ContextCompat.getColor(this, android.R.color.holo_red_dark));
}
private void showRiwayatTab() {
setContentView(R.layout.activity_bantuan_riwayat);
initViews();
setupListeners();
// Update tab appearance
tabRiwayat.setBackgroundResource(android.R.color.holo_red_dark);
textRiwayat.setTextColor(ContextCompat.getColor(this, android.R.color.white));
tabUmum.setBackgroundResource(android.R.color.transparent);
textUmum.setTextColor(ContextCompat.getColor(this, android.R.color.holo_red_dark));
}
private void setupFormView() {
Button btnKirim = findViewById(R.id.btn_kirim);
LinearLayout btnBack = findViewById(R.id.back_navigation);
if (btnBack != null) {
btnBack.setOnClickListener(v -> showUmumTab());
}
btnKirim.setOnClickListener(v -> {
// Handle form submission
});
}
}

View File

@ -0,0 +1,176 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="#f5f5f5">
<!-- Custom AppBar -->
<include layout="@layout/component_appbar" />
<!-- Form Content -->
<ScrollView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp"
android:background="@android:color/white">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Formulir Helpdesk untuk Merchant"
android:textSize="20sp"
android:textStyle="bold"
android:textColor="@android:color/black"
android:layout_marginBottom="8dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Mohon isi data Anda pada formulir di bawah ini untuk melaporkan masalah yang terjadi."
android:textSize="14sp"
android:textColor="@android:color/darker_gray"
android:layout_marginBottom="24dp"/>
<!-- Terminal ID -->
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Terminal ID (TID)"
android:textSize="14sp"
android:textColor="@android:color/darker_gray"
android:layout_marginBottom="8dp"/>
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="123456789011"
android:padding="16dp"
android:background="@android:drawable/editbox_background"
android:layout_marginBottom="16dp"/>
<!-- Nomor Telepon -->
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Nomor Telepon"
android:textSize="14sp"
android:textColor="@android:color/darker_gray"
android:layout_marginBottom="8dp"/>
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="+62 8xxxxxxxxx"
android:inputType="phone"
android:padding="16dp"
android:background="@android:drawable/editbox_background"
android:layout_marginBottom="16dp"/>
<!-- Tanggal Kejadian -->
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Tanggal Kejadian"
android:textSize="14sp"
android:textColor="@android:color/darker_gray"
android:layout_marginBottom="8dp"/>
<Spinner
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp"
android:background="@android:drawable/editbox_background"
android:layout_marginBottom="16dp"/>
<!-- Jenis Masalah -->
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Jenis Masalah"
android:textSize="14sp"
android:textColor="@android:color/darker_gray"
android:layout_marginBottom="8dp"/>
<Spinner
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp"
android:background="@android:drawable/editbox_background"
android:layout_marginBottom="16dp"/>
<!-- Deskripsi Masalah -->
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Deskripsi Masalah"
android:textSize="14sp"
android:textColor="@android:color/darker_gray"
android:layout_marginBottom="8dp"/>
<EditText
android:layout_width="match_parent"
android:layout_height="120dp"
android:hint="Tulis di sini..."
android:inputType="textMultiLine"
android:gravity="top"
android:padding="16dp"
android:background="@android:drawable/editbox_background"
android:layout_marginBottom="16dp"/>
<!-- Upload Dokumen -->
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Upload Dokumen Pendukung"
android:textSize="14sp"
android:textColor="@android:color/darker_gray"
android:layout_marginBottom="8dp"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="16dp"
android:background="@android:drawable/editbox_background"
android:gravity="center_vertical">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Pilih di sini"
android:textColor="@android:color/darker_gray"
android:textSize="14sp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="+"
android:textSize="24sp"
android:textColor="@android:color/darker_gray"/>
</LinearLayout>
</LinearLayout>
</ScrollView>
<!-- Submit Button -->
<Button
android:id="@+id/btn_kirim"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="16dp"
android:text="Kirim Sekarang"
android:textColor="@android:color/white"
android:background="@android:color/darker_gray"
android:padding="16dp"/>
</LinearLayout>

View File

@ -0,0 +1,358 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="#FFFFFF">
<!-- Custom AppBar -->
<include layout="@layout/component_appbar" />
<!-- Main Card Container -->
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:layout_marginTop="-80dp"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:layout_marginBottom="16dp"
app:cardCornerRadius="16dp"
app:cardElevation="4dp"
xmlns:app="http://schemas.android.com/apk/res-auto">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@android:color/white">
<!-- Logo Section with Tabs -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="P"
android:textColor="@android:color/holo_red_dark"
android:textSize="40sp"
android:textStyle="bold"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Payvora\nPRO"
android:textColor="@android:color/holo_red_dark"
android:textSize="20sp"
android:textStyle="bold"
android:layout_marginTop="-20dp"/>
<!-- Tabs -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginTop="16dp">
<LinearLayout
android:id="@+id/tab_umum"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:padding="12dp">
<TextView
android:id="@+id/text_umum"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Umum"
android:textColor="@android:color/holo_red_dark"
android:textSize="16sp"/>
</LinearLayout>
<LinearLayout
android:id="@+id/tab_riwayat"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@android:color/holo_red_dark"
android:gravity="center"
android:padding="12dp">
<TextView
android:id="@+id/text_riwayat"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Riwayat"
android:textColor="@android:color/white"
android:textSize="16sp"/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#e0e0e0"/>
<!-- Content -->
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<!-- History Item 1 -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp"
android:background="@android:color/white">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="07-05-2025"
android:textSize="16sp"
android:textStyle="bold"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Pengajuan"
android:textColor="@android:color/holo_blue_light"
android:textSize="14sp"/>
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Nomor tiket: 0705250819"
android:textSize="14sp"
android:textColor="@android:color/darker_gray"
android:layout_marginTop="4dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Transaksi gagal tapi saldo terpotong"
android:textSize="16sp"
android:layout_marginTop="8dp"/>
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#e0e0e0"/>
<!-- History Item 2 -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp"
android:background="@android:color/white">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="07-05-2025"
android:textSize="16sp"
android:textStyle="bold"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Proses"
android:textColor="@android:color/holo_orange_light"
android:textSize="14sp"/>
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Nomor tiket: 0705250819"
android:textSize="14sp"
android:textColor="@android:color/darker_gray"
android:layout_marginTop="4dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Transaksi gagal tapi saldo terpotong"
android:textSize="16sp"
android:layout_marginTop="8dp"/>
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#e0e0e0"/>
<!-- History Item 3 -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp"
android:background="@android:color/white">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="07-05-2025"
android:textSize="16sp"
android:textStyle="bold"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Selesai"
android:textColor="@android:color/holo_green_dark"
android:textSize="14sp"/>
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Nomor tiket: 0705250819"
android:textSize="14sp"
android:textColor="@android:color/darker_gray"
android:layout_marginTop="4dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Transaksi gagal tapi saldo terpotong"
android:textSize="16sp"
android:layout_marginTop="8dp"/>
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#e0e0e0"/>
<!-- History Item 4 -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp"
android:background="@android:color/white">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="07-05-2025"
android:textSize="16sp"
android:textStyle="bold"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Cancel"
android:textColor="@android:color/holo_red_dark"
android:textSize="14sp"/>
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Nomor tiket: 0705250819"
android:textSize="14sp"
android:textColor="@android:color/darker_gray"
android:layout_marginTop="4dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Transaksi gagal tapi saldo terpotong"
android:textSize="16sp"
android:layout_marginTop="8dp"/>
</LinearLayout>
</LinearLayout>
</ScrollView>
</LinearLayout>
</androidx.cardview.widget.CardView>
<!-- Bottom Buttons - Outside Card -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="16dp"
android:background="@android:color/white">
<Button
android:id="@+id/btn_form"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginEnd="8dp"
android:text="Isi Form Bantuan"
android:textColor="@android:color/holo_red_dark"
android:background="@android:drawable/editbox_background"/>
<Button
android:id="@+id/btn_whatsapp"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginStart="8dp"
android:text="WhatsApp CS"
android:textColor="@android:color/white"
android:background="@android:color/holo_red_dark"/>
</LinearLayout>
</LinearLayout>

View File

@ -0,0 +1,441 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="#FFFFFF">
<!-- Custom AppBar -->
<include layout="@layout/component_appbar" />
<!-- Main Card Container -->
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:layout_marginTop="-80dp"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:layout_marginBottom="16dp"
app:cardCornerRadius="16dp"
app:cardElevation="4dp"
xmlns:app="http://schemas.android.com/apk/res-auto">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@android:color/white">
<!-- Logo Section with Tabs -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="P"
android:textColor="@android:color/holo_red_dark"
android:textSize="40sp"
android:textStyle="bold"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Payvora\nPRO"
android:textColor="@android:color/holo_red_dark"
android:textSize="20sp"
android:textStyle="bold"
android:layout_marginTop="-20dp"/>
<!-- Tabs -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginTop="16dp">
<LinearLayout
android:id="@+id/tab_umum"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@android:color/holo_red_dark"
android:gravity="center"
android:padding="12dp">
<TextView
android:id="@+id/text_umum"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Umum"
android:textColor="@android:color/white"
android:textSize="16sp"/>
</LinearLayout>
<LinearLayout
android:id="@+id/tab_riwayat"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:padding="12dp">
<TextView
android:id="@+id/text_riwayat"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Riwayat"
android:textColor="@android:color/holo_red_dark"
android:textSize="16sp"/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#e0e0e0"/>
<!-- Content -->
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<!-- Help Items -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="16dp"
android:background="@android:color/white"
android:gravity="center_vertical">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="QRIS tidak terbaca"
android:textSize="16sp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Lihat Solusi"
android:textColor="@android:color/holo_blue_light"
android:textSize="14sp"/>
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#e0e0e0"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="16dp"
android:background="@android:color/white"
android:gravity="center_vertical">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="EDC tidak merespon / hang"
android:textSize="16sp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Lihat Solusi"
android:textColor="@android:color/holo_blue_light"
android:textSize="14sp"/>
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#e0e0e0"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="16dp"
android:background="@android:color/white"
android:gravity="center_vertical">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Gagal cetak struk"
android:textSize="16sp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Lihat Solusi"
android:textColor="@android:color/holo_blue_light"
android:textSize="14sp"/>
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#e0e0e0"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="16dp"
android:background="@android:color/white"
android:gravity="center_vertical">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Cara Reset EDC"
android:textSize="16sp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Lihat Solusi"
android:textColor="@android:color/holo_blue_light"
android:textSize="14sp"/>
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#e0e0e0"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="16dp"
android:background="@android:color/white"
android:gravity="center_vertical">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Cara Hubungkan ke WiFi"
android:textSize="16sp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Lihat Solusi"
android:textColor="@android:color/holo_blue_light"
android:textSize="14sp"/>
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#e0e0e0"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="16dp"
android:background="@android:color/white"
android:gravity="center_vertical">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Cara pembayaran kartu (debit/kredit)"
android:textSize="16sp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Lihat Solusi"
android:textColor="@android:color/holo_blue_light"
android:textSize="14sp"/>
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#e0e0e0"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="16dp"
android:background="@android:color/white"
android:gravity="center_vertical">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Cara Refund Transaksi QRIS"
android:textSize="16sp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Lihat Solusi"
android:textColor="@android:color/holo_blue_light"
android:textSize="14sp"/>
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#e0e0e0"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="16dp"
android:background="@android:color/white"
android:gravity="center_vertical">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Cara melakukan Settlement"
android:textSize="16sp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Lihat Solusi"
android:textColor="@android:color/holo_blue_light"
android:textSize="14sp"/>
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#e0e0e0"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="16dp"
android:background="@android:color/white"
android:gravity="center_vertical">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Cara membatalkan transaksi (void)"
android:textSize="16sp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Lihat Solusi"
android:textColor="@android:color/holo_blue_light"
android:textSize="14sp"/>
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#e0e0e0"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="16dp"
android:background="@android:color/white"
android:gravity="center_vertical">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Cara melihat riwayat transaksi"
android:textSize="16sp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Lihat Solusi"
android:textColor="@android:color/holo_blue_light"
android:textSize="14sp"/>
</LinearLayout>
</LinearLayout>
</ScrollView>
</LinearLayout>
</androidx.cardview.widget.CardView>
<!-- Bottom Buttons - Outside Card -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="16dp"
android:background="@android:color/white">
<Button
android:id="@+id/btn_form"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginEnd="8dp"
android:text="Isi Form Bantuan"
android:textColor="@android:color/holo_red_dark"
android:background="@android:drawable/editbox_background"/>
<Button
android:id="@+id/btn_whatsapp"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginStart="8dp"
android:text="WhatsApp CS"
android:textColor="@android:color/white"
android:background="@android:color/holo_red_dark"/>
</LinearLayout>
</LinearLayout>