fix scroll in Sample
This commit is contained in:
parent
b1814ebcdf
commit
4f2e6f8171
|
|
@ -99,6 +99,7 @@ public class MainActivity extends AppCompatActivity {
|
|||
|
||||
|
||||
FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fab);
|
||||
fab.setVisibility(View.GONE);
|
||||
fab.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,9 @@
|
|||
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
android:layout_height="match_parent"
|
||||
android:stackFromBottom="true"
|
||||
android:transcriptMode="alwaysScroll">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txt"
|
||||
|
|
|
|||
Loading…
Reference in New Issue