Linked Questions

0 votes
2 answers
1k views

I am looking for a way to set the maxLine property of a textview based on the length of my string. For example, i have a string in the following format: String test = "This is a \n \n test" The above ...
John Baum's user avatar
  • 3,361
0 votes
1 answer
904 views

How can one achieve scrollbar like one below for TextView? So what i mean is, the scrollbar style is custom and is visible when the content does not fit into TextView. Thank you all in advance.
chirag90's user avatar
  • 2,260
-1 votes
2 answers
681 views

I already tried to use the solution rom here Rigth now it's a ScrollView. Neither of these possibilities will let me Scroll the text. It minSDK is Version 8. It still has to be able to run on ...
chris2701's user avatar
0 votes
2 answers
876 views

I am trying to create a custom alertDialog with a ConstraintLayout, containing a title, scrollview with a textview, and a button at the bottom. I want the scrollview to grow/shrink dynamically and ...
lOOFv's user avatar
  • 13
1 vote
1 answer
854 views

I'm trying to set up a TextView vertical scroll in the XML layout, it barely works, The scroll seems to move when I hardly swipe down the vertical bar, I mostly get to scroll down the layout instead ...
Jose Ricardo Citerio Alcala's user avatar
1 vote
3 answers
602 views

I have a textview, and when there is more than 2 line of text in it, the second line becomes 1st line, with a line free below it, and the first line should not be visible. is this possible with ...
Darko Petkovski's user avatar
0 votes
1 answer
351 views

This the default way to make TextView scrollable:- TextView txtView = (TextView)findViewById(R.id.book_detail); txtView.setMovementMethod(new ScrollingMovementMethod()); txtView.setText("...
GameChanger's user avatar
0 votes
3 answers
407 views

I would need to create a scrollview directly from Java code so I wrote this code (which I use in an AlertDialog). TextView myTextView = new TextView(context); myTextView.setText("Very long text" + ...
Mario G.'s user avatar
  • 393
0 votes
2 answers
371 views

I have already read this post: Making TextView scrollable on Android without success. My app looks like this: Where the black space is a TextView. It is declared at the xml like this: <TextView ...
Roman Rdgz's user avatar
  • 13.4k
0 votes
4 answers
107 views

I have defined the function showMeTable() for getting data from sqlite database in DbHelper.java class. Then i call it from WeekDbShow.java class. After getting the table in the form of string , i am ...
kumar kundan's user avatar
  • 2,067
-1 votes
2 answers
549 views

Why my TextView field doesn't scroll with finger? Have I missed something? <TextView android:text="Hi! Type help for more info" android:textAppearance="?android:attr/...
arti's user avatar
  • 657
1 vote
2 answers
539 views

<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/layouts" android:layout_width="match_parent" android:...
Rims's user avatar
  • 23
1 vote
2 answers
284 views

I am splitting the screen with 2 linear layouts containing text view and this may contain large number of lines hence using scrolls but the first we lines are scrapped off and cannot view it. ...
Nikhil's user avatar
  • 2,328
2 votes
1 answer
471 views

My ListView does not receive onScroll events in case it is short and does not fill the whole screen, which is strange, because I have set fill_parent as height. My layout: <?xml version="1.0" ...
slezadav's user avatar
  • 6,171
2 votes
0 answers
448 views

I'd like to make a TextView scrollable when the maxLines is >= to 10. I tried this code: <LinearLayout android:id="@+id/powers_layout" android:layout_width="match_parent" ...
Ridan's user avatar
  • 39

15 30 50 per page
1 2 3
4
5
7