this maybe the simpliest question therein, but please be considerate for me.
I am researching some tutorial/s regarding how to wrap text inside a EditText and I think these links will help me a lot.
Now my question is, how can I incorporate that java class. As you see I am still a student and I have little experience on these extends. I've tried using instantiate (I am more prone on vb.net) and here is my code
private AutoResizeTextView autoResizeTextView;// instantiate
//and on my textview
txtCalc.setTextSize(autoResizeTextView);
it isnt working. Can you help me fix my declaration cause I am trying to create a calculator for my school project?
Thanks a lot for your time and effort
EDIT I dont know if I understand it correctly but this what I do on my layout
<com.bracks.androidtest.AutoResizeTextView
android:id="@+id/screen"
android:layout_width="285dp"
android:layout_height="54dp"
android:layout_gravity="center"
android:layout_marginTop="5dp"
android:background="@drawable/box_border"
android:clickable="false"
android:enabled="false"
android:gravity="center"
android:longClickable="false"
android:textColor="#333333"
android:textSize="30dp"
/>
Sir it isnt working. I dont know if that is because of the code