• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

I have few problems with android studio

compile 'com.android.support:appcompat-v7:23.0.1'
compile 'com.android.support:design:23.0.1'

Where can I write this code? I'm in build.gradle (module: Second app.app)

plugins {
id 'com.android.application'
}

android {
compileSdkVersion 30
buildToolsVersion "30.0.3"

defaultConfig {
applicationId "com.example.secondapp"
minSdkVersion 23
targetSdkVersion 30
versionCode 1
versionName "1.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_6
}
}

dependencies {
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'com.google.android.material:material:1.2.1'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
testImplementation 'junit:junit:4.13.1'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
}

Help Samsung S20 stays muted after do not disturb hours

I have my Samsung S20 set to do not disturb overnight (10pm to 7am).

Every day, when 7am rolls around and do not disturb ends, the DND icon goes away...but the volume settings on ringtone, notifications and system channels are all muted. Media is the only channel that has any volume on it.

This is fairly recent behaviour - the last update was 29 December, and it wasn't doing it before that.

Is anyone else getting something like this, and does anyone have a way of working around it? Is there a setting I'm missing?

Download music app for galaxy note 9

I don't use apps for downloading music for a long period. Since I started to listen to music on Spotify I don't have any problems with music. I can also recommend you to use Spotify for listening to music. But if you want to download the music you can use MYT, it is a very good app for downloading music, you won't find it on the app store on the google market. Also, you can use a Youtube converter and download the music directly from youtube. It is easy to use and it has a lot of different formats for music. I hope that I helped you because I like listening to music, and I want other people to do so.

How do you fix androidmanifest coding

My code is
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.Second app">

<application
android:allowBackup="true"
android:icon="@Mipmap/ic_launcher"
android:label="@String/app_name"
android:roundIcon="@Mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@Style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>

The error are
Cannot resolve symbol
"@Style/AppTheme">
Unresolved class "MainActivity"

GBoard "New Line" Not Working

Well, doesn't this take the cake.
I installed an app, "Classic Big Keyboard" from google play.
Speaking "New line" moves down to the next line like Gboard used to.
If I switch to Gboard, New line does not work but if I switch back yo Classic New line works.

In fact, I guess it is because I have two keyboards installed, so there is the image of a keyboard on the right of the bottom bar. If I tap it I can select between Classic, Gboard, Google voice typing. Switching right in the middle of a document will enable/disable New Line.

Use Chrome for Search Bar at Bottom of Home Screen

This is really frustrating bc, as pixel users, we often use the google search bar at the bottom of the home screen for google searches instead of opening up chrome, and then quickly remember that there is no "search options" so we aren't able to use the "Any time | Past hour | Past 24 hrs | Past week | Past month | Past Year | Custom".
I find the need for time based searches very often. Especially when dealing with news matters. Or even movies, etc that have come out in the past year, etc.

Filter

Back
Top Bottom