Skip to content

Commit

Permalink
Fixed links in InfoFragment.
Browse files Browse the repository at this point in the history
  • Loading branch information
aiman-al-masoud committed Aug 14, 2021
1 parent 60ea55c commit 8e0b68c
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
import android.os.Bundle;

import androidx.fragment.app.DialogFragment;
import androidx.fragment.app.Fragment;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
Expand Down Expand Up @@ -59,6 +57,7 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle sa
textArea.setBackgroundColor(theme.BG_COLOR);
textArea.setTextColor(theme.FG_COLOR);
view.setBackgroundColor(theme.BG_COLOR);

return view;
}

Expand Down
20 changes: 16 additions & 4 deletions app/src/main/res/layout/fragment_info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,33 @@
app:layout_constraintHorizontal_bias="0.498"
app:layout_constraintStart_toStartOf="parent" />

<EditText
<TextView
android:id="@+id/infoFragmentText"
android:layout_width="313dp"
android:layout_height="453dp"
android:editable="false"
android:ems="10"
android:enabled="true"
android:focusable="true"
android:gravity="start|top"
android:inputType="textMultiLine"
app:layout_constraintBottom_toTopOf="@+id/info_frag_button"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.571"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.584" />
app:layout_constraintVertical_bias="0.584"



android:autoLink="web|email"
android:clickable="true"
android:linksClickable="true"






/>


</androidx.constraintlayout.widget.ConstraintLayout>
3 changes: 2 additions & 1 deletion app/src/main/res/values-it-rIT/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
<string name="credits">
Grazie per aver scelto Noadpad! :-) \n\n

Per qualsiasi proposta:\n\n
Per maggiori informazioni:\n\n

Contatto: luxlunarislabs@gmail.com \n
Repo: https://github.com/aiman-al-masoud/noadpad \n
Guida breve: https://github.com/aiman-al-masoud/noadpad/wiki/Guida-Breve \n
Licenza: https://github.com/aiman-al-masoud/noadpad/blob/master/LICENSE.md \n
</string>
<string name="search_icon_title">cerca</string>
Expand Down
12 changes: 7 additions & 5 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@

<string name="credits">

Thanks for trying out Noadpad! :-) \n
Thanks for trying out Noadpad! :-) \n\n

For any suggestions: \n\n
For more info: \n\n

Contact: luxlunarislabs@gmail.com \n
Repo: https://github.com/aiman-al-masoud/noadpad \n
License: https://github.com/aiman-al-masoud/noadpad/blob/master/LICENSE.md \n
Contact me: luxlunarislabs@gmail.com \n\n
Repo: https://github.com/aiman-al-masoud/noadpad \n\n
Quick Start Guide: https://github.com/aiman-al-masoud/noadpad/wiki/Quick-Start-Guide \n\n
License: https://github.com/aiman-al-masoud/noadpad/blob/master/LICENSE.md \n\n

</string>
<string name="search_icon_title">search</string>
<string name="new_page_icon_title">new page</string>
Expand Down

0 comments on commit 8e0b68c

Please sign in to comment.