Alperen

Theme Control with Jetpack Compose in White Label Challenge | via Alperen Çevlik | Jan, 2024

Hi! 👋 If you happen to’ve written code with Jetpack Compose, you know the way simple it’s to use the colours you’ve selected on your app to UI elements. All you want to do is wrap composable purposes with MaterialTheme and follow the colours to UI elements. Now, in case you are running on a […]

Theme Control with Jetpack Compose in White Label Challenge | via Alperen Çevlik | Jan, 2024 Read More »

Kotlinde Customized Growth Bar Yapımı | by way of Alperen imamoglu | Jan, 2024

Activity_main.xml üzerinden sayfamızın tasarımını yapalım Sayfanın arka plan rengini değiştirelim android:background=”@colour/black” <androidx.constraintlayout.widget.ConstraintLayout xmlns:android=”http://schemas.android.com/apk/res/android”xmlns:app=”http://schemas.android.com/apk/res-auto”xmlns:gear=”http://schemas.android.com/gear”android:layout_width=”match_parent”android:layout_height=”match_parent”android:background=”@colour/black”gear:context=”.MainActivity”> </androidx.constraintlayout.widget.ConstraintLayout> Başlık ekleyelim <TextViewandroid:identification=”@+identification/textView_title”android:layout_width=”wrap_content”android:layout_height=”wrap_content”android:layout_marginTop=”64dp”android:textual content=”Customized Bar”android:textColor=”@colour/white”android:textSize=”26sp”app:layout_constraintEnd_toEndOf=”mother or father”app:layout_constraintStart_toStartOf=”mother or father”app:layout_constraintTop_toTopOf=”mother or father” /> Customized Bar’ımızın yazısını ve Customized Bar’ın kendisini oluşturan Recyclerview’i ekleyelim <TextViewandroid:identification=”@+identification/textView_power”android:layout_width=”70dp”android:layout_height=”wrap_content”android:layout_marginStart=”24dp”android:layout_marginTop=”64dp”android:textual content=”Energy”android:textColor=”@colour/white”app:layout_constraintStart_toStartOf=”mother or father”app:layout_constraintTop_toBottomOf=”@+identification/textView_title” /><androidx.recyclerview.widget.RecyclerViewandroid:identification=”@+identification/rv_power”android:layout_width=”0dp”android:layout_height=”12dp”android:layout_marginStart=”20dp”android:layout_marginEnd=”24dp”app:layout_constraintBottom_toBottomOf=”@+identification/textView_power”app:layout_constraintEnd_toEndOf=”mother or father”app:layout_constraintStart_toEndOf=”@+identification/textView_power”app:layout_constraintTop_toTopOf=”@+identification/textView_power” /> Animasyonu başlatmak için buton ekleyelim <Buttonandroid:identification=”@+identification/btn_start_animation”android:layout_width=”wrap_content”android:layout_height=”wrap_content”android:textual content=”Get started Animation”android:layout_marginTop=”64dp”app:layout_constraintEnd_toEndOf=”mother or father”app:layout_constraintStart_toStartOf=”mother

Kotlinde Customized Growth Bar Yapımı | by way of Alperen imamoglu | Jan, 2024 Read More »

Scroll to Top