how to join two table in codeigniter easily[updated] | ci_model | ci_controller | codeigniter 3 -datainflow
Add Scrollable Activity in Android Studio Project
Here I describe how to add custom scrollable activity in your Android Studio project. In Android Studio, you can add scrolling activity, but you know that there has collapsing toolbar and floating button is default set when you want to change the default setting, this tutorial will be helpful for you.
So, here I describe how we add scroll text in empty activity. This scrolling text is used when data becomes too much in length and TextView does not show on the screen completely. I use ImageView, Button, and TextView in Scroll View activity.
Follow the XML code:
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" android:padding="10dp" xmlns:app="http://schemas.android.com/apk/res-auto"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> <ImageView android:id="@+id/imageView" android:layout_width="match_parent" android:layout_height="wrap_content" android:scaleType="centerCrop" android:src="@drawable/image" /> <Button android:id="@+id/button" android:layout_width="match_parent" android:layout_height="80dp" android:text="Scrolling Activity" /> <TextView android:id="@+id/textView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/scroll_content"/> </LinearLayout> </ScrollView>
I hope that it’s help you. Happy Coding !……
Related posts