Skip to content

Commit

Permalink
Merge pull request #29 from khaleeljageer/audio
Browse files Browse the repository at this point in the history
UI Improvements
  • Loading branch information
khaleeljageer authored Dec 15, 2021
2 parents 5e1d2e1 + b225320 commit 0d97fc7
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 8 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ android {
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation 'androidx.core:core-ktx:1.7.0'
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'androidx.appcompat:appcompat:1.4.0'
implementation 'com.google.android.material:material:1.4.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.2'
implementation 'androidx.preference:preference-ktx:1.1.1'
implementation 'androidx.activity:activity-ktx:1.4.0'
implementation 'androidx.fragment:fragment-ktx:1.3.6'
implementation 'androidx.fragment:fragment-ktx:1.4.0'

testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
Expand Down
1 change: 0 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,4 @@
android:name=".ui.oss.ThirdPartyActivity"
android:exported="true" />
</application>

</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ class ResultPageFragment : Fragment(R.layout.fragment_pdf_result), TessBaseAPI.P

override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)
binding = FragmentPdfResultBinding.bind(view)
initTesseract()
val position = arguments?.getInt(POSITION, -1) ?: -1
val size = arguments?.getInt(TOTAL_PAGE, -1) ?: -1
Expand Down
4 changes: 4 additions & 0 deletions app/src/main/res/layout/activity_result.xml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:indeterminate="true"
android:visibility="invisible"
app:indicatorColor="@color/app_primaryDarkColor"
app:indicatorSize="@dimen/margin_60dp"
app:layout_constraintBottom_toBottomOf="parent"
Expand All @@ -144,6 +145,7 @@
android:padding="@dimen/margin_5dp"
android:textSize="@dimen/textsize_14sp"
android:textStyle="bold"
android:visibility="invisible"
app:layout_constraintBottom_toBottomOf="@+id/progressLoader"
app:layout_constraintEnd_toEndOf="@+id/progressLoader"
app:layout_constraintStart_toStartOf="@+id/progressLoader"
Expand All @@ -154,7 +156,9 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/margin_15dp"
android:gravity="center"
android:text="@string/converting"
android:textAlignment="center"
android:textSize="@dimen/text_size_14sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<string name="exceed_maximum_page">தற்போது, %d பக்கங்களுக்கு மேல் உள்ள PDF-ஐ நாங்கள் அனுமதிப்பதில்லை. தயவு செய்து வேறு PDF-ஐ தேர்வு செய்யவும்</string>
<string name="close">மூடு</string>
<string name="conversion_complete">தரவு\nமாற்றம் முடிந்தது…</string>
<string name="converting">தரவு\nமாற்றபடுகிறது…</string>
<string name="converting">தரவு\nமாற்றப்படுகிறது…</string>
<string name="terms_amp_conditions">விதிமுறைகள் மற்றும் நிபந்தனைகள்</string>
<string name="english">ஆங்கில</string>
<string name="tamil">தமிழ்</string>
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
ext.playStoreBuild = "playstore-build"
ext.appBuildType = fdroidBuild // Default build type is fdroid-build

ext.kotlin_version = "1.5.31"
ext.kotlin_version = "1.6.0"
repositories {
google()
mavenCentral()
Expand All @@ -15,7 +15,7 @@ buildscript {
println "appBuildType: $appBuildType"
println " --------------------"
dependencies {
classpath 'com.android.tools.build:gradle:7.0.3'
classpath 'com.android.tools.build:gradle:7.0.4'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.dagger:hilt-android-gradle-plugin:2.39.1'

Expand Down

0 comments on commit 0d97fc7

Please sign in to comment.